package com.exam.dao;

import com.exam.entity.Student;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface IStudentDao {

    //得到所有学生信息
    List<Map<String,Object>> getAllStudents();

    //修改学号对应的学生信息
    int saveInfo(Student student);

    int doImportStu(List<Student> list);

    Student getBySno(String sno);
}
